package com.yunxi.sto.service;

import com.github.pagehelper.PageInfo;
import com.yunxi.sto.pojo.StoRepairOrderExportVO;
import com.yunxi.sto.pojo.StoRepairOrderImpotVO;
import com.yunxi.sto.pojo.StoRepairOrderVO;

import java.lang.reflect.InvocationTargetException;
import java.util.ArrayList;
import java.util.List;

public class StoRepairOrderDubboServiceMock implements  StoRepairOrderDubboService {
    @Override
    public StoRepairOrderVO getById(String id) throws InvocationTargetException, IllegalAccessException {
        StoRepairOrderVO vo = new StoRepairOrderVO();
        vo.setRepairOrderNo("暂无数据");
        return vo;
    }

    @Override
    public void saveOrUpdate(StoRepairOrderVO stoRepairOrderVO) throws Exception {

    }

    @Override
    public void removeById(String id) {

    }

    @Override
    public PageInfo<StoRepairOrderVO> findPageByVO(StoRepairOrderVO stoRepairOrderVO, Integer pageNum, Integer pageSize) throws InvocationTargetException, IllegalAccessException {
        PageInfo<StoRepairOrderVO> page =  new   PageInfo<StoRepairOrderVO>();
        List  list  =  new ArrayList();
        StoRepairOrderVO vo =  new StoRepairOrderVO();
        vo.setRepairOrderNo("暂无数据");
        list.add(vo);
        page.setList(list);
        return page;

    }

    @Override
    public List<StoRepairOrderExportVO> export(StoRepairOrderVO stoRepairOrderVO) throws Exception {
        List  list  =  new ArrayList();
        StoRepairOrderExportVO vo =  new StoRepairOrderExportVO();
        vo.setVin("暂无数据");
        list.add(vo);
        return list;
    }

    @Override
    public void importBatch(List<StoRepairOrderImpotVO> list) throws Exception {

    }

    @Override
    public void removeByListVo(List<StoRepairOrderVO> stoRepairOrderVOList) throws IllegalAccessException, InvocationTargetException, InstantiationException {

    }

    @Override
    public void delAndReset(List<String> list, Integer isDel, String userId) throws Exception {

    }

    @Override
    public void batchStockInOut(List<String> list, Integer isOut, String userId) throws Exception {

    }

    @Override
    public void batchComplete(List<String> list, String userId) throws Exception {

    }
}
